package chapter_03_factory.p3_abstractFactory.product.cpu;

/**
 * Created by CharloYao on 2017/3/17.
 */
public class AmdCpu implements Cpu {

    int pin  = 0;

    public AmdCpu(int pin) {
        this.pin = pin;
    }

    //假设AMD的针脚是2
    @Override
    public int getPin() {
        return pin;
    }
}
